/**
- * beginApplicationWindowSelection:
+ * setApplicationWindowSelection:
* @appid: Application identifier string
*
- * Enter a mode which shows only the widnows owned by the
+ * Enter a mode which shows only the windows owned by the
* given application, and allow highlighting of a specific
* window with setHighlightWindow().
*/
- beginApplicationWindowSelection: function (appid) {
+ setApplicationWindowSelection: function (appid) {
if (this._workspaces)
- this._workspaces.beginApplicationWindowSelection(appid);
+ this._workspaces.setApplicationWindowSelection(appid);
},
//// Private methods ////
_init : function(width, height, x, y) {
this.actor = new Clutter.Group();
- this._appIdFilter = null;
-
this._width = width;
this._height = height;
this._x = x;
}
},
- beginApplicationWindowSelection: function (appId) {
+ // See comments in overview.js
+ setApplicationWindowSelection: function (appId) {
let appSys = Shell.AppMonitor.get_default();
let showOnlyWindows;
} else {
showOnlyWindows = null;
}
- this._appIdFilter = appId;
for (let i = 0; i < this._workspaces.length; i++) {
this._workspaces[i].setLightboxMode(showOnlyWindows != null);
this._workspaces[i].setShowOnlyWindows(showOnlyWindows);